Correctly register the done signal - it sends an enum, not an int.
authorMurray Cumming <murrayc@murrayc.com>
Tue, 20 Jun 2006 19:48:37 +0000 (19:48 +0000)
committerMurray Cumming <murrayc@src.gnome.org>
Tue, 20 Jun 2006 19:48:37 +0000 (19:48 +0000)
2006-06-20  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkprintoperation.c: (gtk_print_operation_class_init):
        Correctly register the done signal - it sends an enum, not an int.

ChangeLog
ChangeLog.pre-2-10
gtk/gtkprintoperation.c

index 074bdf021a99ca6212a933d1fdf942fdcff1dcfe..85755996c5461ffe74fc087c9c12b39f2905c6db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): 
+       Correctly register the done signal - it sends an enum, not an int.
+
 2006-06-20  Christian Persch  <chpe@cvs.gnome.org>
        
        * configure.in
index 074bdf021a99ca6212a933d1fdf942fdcff1dcfe..85755996c5461ffe74fc087c9c12b39f2905c6db 100644 (file)
@@ -1,3 +1,8 @@
+2006-06-20  Murray Cumming  <murrayc@murrayc.com>
+
+       * gtk/gtkprintoperation.c: (gtk_print_operation_class_init): 
+       Correctly register the done signal - it sends an enum, not an int.
+
 2006-06-20  Christian Persch  <chpe@cvs.gnome.org>
        
        * configure.in
index 001ab3f4970570871622d0ac9305c95b605a609f..7667b6e2026d2ebf750f2347e8da3077521133c4 100644 (file)
@@ -556,8 +556,8 @@ gtk_print_operation_class_init (GtkPrintOperationClass *class)
                  G_SIGNAL_RUN_LAST,
                  G_STRUCT_OFFSET (GtkPrintOperationClass, done),
                  NULL, NULL,
-                 g_cclosure_marshal_VOID__INT,
-                 G_TYPE_NONE, 1, G_TYPE_INT);
+                 g_cclosure_marshal_VOID__ENUM,
+                 G_TYPE_NONE, 1, GTK_TYPE_PRINT_OPERATION_RESULT);
 
   /**
    * GtkPrintOperation::begin-print: